'use strict';
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	
	const DB = uniCloud.database()
	
  let resData = await DB.collection("addressList_2008A").add({
		
        ...event
		
	})
	//返回数据给客户端
	return {
		...resData,
		msg:"成功"
		
	}
};
